<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>网销云管理应用</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    #parse('/headFiles.html')
</head>
<body>
<div class="layui-fluid" style="padding-top:2px;">
    <div class="layui-card layui-form" style="margin-top:10px;" wid100>
        <div class="layui-card-header">基础信息
            <div class="layui-btn-group layuiadmin-btn-group" style="float:right;">
                <input type="button" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit lay-filter="LAY-save" id="LAY-save" value="保存信息">
            </div>
        </div>
        <div class="layui-card-body">
            <div class="layui-card-body">
                <div class="layui-row">
                    <div class="layui-col-sm3">
                        <div class="layui-form-item">
                            <label class="layui-form-label">供货商ID</label>
                            <input type="hidden" name="id" value="$!{id}"/>
                            <div class="layui-form-mid layui-word-aux">$!{id}</div>
                        </div>
                    </div>
                    <div class="layui-col-sm6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">供货商名称</label>
                            <div class="layui-input-block">
                                <input type="text" name="name" lay-verify="required" autocomplete="off" class="layui-input" value="$!{name}">
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-sm3">
                        <div class="layui-form-item">
                            <label class="layui-form-label">状态</label>
                            <div class="layui-form-mid layui-word-aux">$!{stateName}</div>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-sm4">
                        <div class="layui-form-item">
                            <label class="layui-form-label">云支付ID</label>
                            <div class="layui-form-mid layui-word-aux">$!{accountId}</div>
                        </div>
                    </div>
					<div class="layui-col-sm3">
                        <div class="layui-form-item">
                            <label class="layui-form-label">关联代理姓名</label>
							<div class="layui-form-mid layui-word-aux">$!{userName}</div>
                        </div>
                    </div>
					<div class="layui-col-sm5">
	                    <div class="layui-form-item">
	                        <label class="layui-form-label">关联代理手机</label>
							<div class="layui-form-mid layui-word-aux">$!{userPhone}</div>
	                    </div>
	                </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-sm6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">最后修改</label>
                            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($updateDate,'yyyy-MM-dd HH:mm:ss')}</div>
                        </div>
                    </div>
                    <div class="layui-col-sm6">
                        <div class="layui-form-item">
                            <label class="layui-form-label">创建时间</label>
                            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($createDate,'yyyy-MM-dd HH:mm:ss')}</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div><!-- /.layui-form -->
    <div class="layui-tab layui-tab-card" lay-filter="tab-info">
        <ul class="layui-tab-title">
            <li class="layui-this">数据库配置</li>
        </ul>
        <div class="layui-tab-content" style="padding:0px;">
            <div class="layui-tab-item  layui-show">
                <div class="layui-card layui-form">
                    <input type="hidden" name="id" value="$!{id}"/>
                    <div class="layui-card-header">
                        业务数据库配置
                        <div class="layui-form-item" style="float:right;">
                            <input type="button" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit
                                   lay-filter="LAY-update-dbConfig" value="保存数据库配置信息">
                        </div>
                    </div>
                    <div class="layui-card-body">
                        <div class="layui-row">
                            <div class="layui-col-sm4">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">数据库</label>
                                    <div class="layui-input-block">
                                        <select name="dbConfig.dbType">
                                            <option value="mysql">mysql</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-col-sm5">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">IP地址</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="dbConfig.ip" autocomplete="off" class="layui-input"
                                               value="$!{dbConfig.ip}">
                                    </div>
                                </div>
                            </div>
                            <div class="layui-col-sm3">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">端口</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="dbConfig.port" autocomplete="off" class="layui-input"
                                               value="$!{dbConfig.port}">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="layui-row">
                            <div class="layui-col-sm4">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">数据库</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="dbConfig.dbName" autocomplete="off" class="layui-input"
                                               value="$!{dbConfig.dbName}">
                                    </div>
                                </div>
                            </div>
                            <div class="layui-col-sm4">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">用户名</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="dbConfig.userName" autocomplete="off"
                                               class="layui-input" value="$!{dbConfig.userName}">
                                    </div>
                                </div>
                            </div>
                            <div class="layui-col-sm4">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">密码</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="dbConfig.password" autocomplete="off"
                                               class="layui-input" value="$!{dbConfig.password}">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div><!-- /.layui-card -->
            </div><!-- /.layui-tab-item -->
        </div><!-- /.layui-tab-content -->
    </div><!-- /.layui-tab -->
</div>
#parse('/footFiles.html')
<script type="text/javascript">
layui.config({
	base: '$!{webRoot}/assets/layuiadmin/'
	,webRoot:'$!{webRoot}'
}).extend({
	index: 'lib/index'
    ,market_supplier_info:'market/cloud/market_supplier_info'
}).use(['index','market_supplier_info']);
</script>
</body>
</html>